package com.deuwise.system.service.impl;

import com.deuwise.system.entity.SysLayer;
import com.deuwise.system.service.SysLayerService;
import com.deuwise.system.mapper.SysLayerMapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Syslayer 接口实现类
 *@author deuwise
 *@date 2020-05-20 15:41:55
 **/
@Service
public class SysLayerServiceImpl extends ServiceImpl<SysLayerMapper, SysLayer> implements SysLayerService {

    Logger logger= LoggerFactory.getLogger(SysLayerServiceImpl.class);

    /**
     * 图层树列表
     * @param sysLayer
     * @return
     */
    @Override
    public List<SysLayer> syslayerTreeList(SysLayer sysLayer) {
        return baseMapper.syslayerTreeList(sysLayer);
    }
}